Automated Presentation of directory src/exampleCode/X/cursor/

HUB | Up | Download | Pheedbak | Tree | Topic | A-Z | Search | Hot | New


Please be aware: what appears below are the v4.2 DT bits in auto-generated html form.
As we have the time, we will update these to reflect the current "state of the world".


README file from "cursor" directory

              ~4Dgifts/toolbox/src/exampleCode/X/cursor README


   fontCursor.c:

   A simple example of changing a window's cursor using "Font" cursors.  
   The cursors are refered to by an index which is defined in the include 
   file <X11/cursorfont.h>.  Viewing cursor font definitions is possible
   by using the utility `xfd' like so:  
                                            xfd -fn cursor



   pixmapCursor.c:
  
   This demonstrates how in X to define a cursor for one's own application
   without changing the cursor for the rest of the system.  In X11, this 
   can be done using either Pixmaps, Fonts, or Glyphs.  Study especially
   the functions:
  
       XCreateFontCursor, XCreatePixmapCursor, XCreateGlyphCursor
       XDefineCursor, XUndefineCursor
   
   See /usr/include/X11/cursorfont.h for some predefined Font Cursors.
   
   These change the cursor only for the Window they're defined for.
   This is an example using Pixmap cursors.




Files of interest from "src/exampleCode/X/cursor" directory

Source

Documentation

Reference


Select any combo of files you'd like to send yourself a compressed tar image of. Executables/scripts are indicated with a trailing `*' character. (Depending upon the browser, it may be necessary to hold down the Ctrl key to select/deselect disjoint items.) a compressed tar image of the above-selected items.
OR, ...
a compressed tar image of the entire cursor directory.

Copyright © 1995, Silicon Graphics, Inc.